package com.zbdx.medicalzb.mapper;

import com.zbdx.medicalzb.entity.CityEntity;
import com.zbdx.medicalzb.model.CityModel;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CityMapper {

    List<CityModel> getAllCity(String name);


    Integer checkCityByName(Integer cityNumber);

    int saveCity(CityEntity ce);

    int deleteCityById(Integer id);
}
